<?php

class DefaultController extends AdminController {

    public function actionIndex() {
        echo $this->module->name;

        $this->render('index');
    }

//    public function beforeAction($action) {
//        if (!$this->isExceptAction() && Yii::app()->admin->getIsGuest()) {
//            $this->redirect(array('main/login'));
//        }
//    }
}